[ News ] [ Download ] [ Installation ] [ Usage ] [ Mail to developer ]


        _____     _           
       / ____|   (_)          
 _   _| |     ___ _ _ __ ___  
| | | | |    / __| | '_ ` _ \ 
| |_| | |____\__ \ | | | | | |
\ ._,_|\_____|___/_|_| |_| |_|
| |                           
|_|                           
    

Software simulator for microcontrollers

µCsim can be used to simulate microcontrollers. It supports

It can run on Linux, Windows, OSX, BSD, and other systems.

See what's new in current version.

Download

You can download µCsim from two places:

  1. SDCC homepage. µCsim is part of the SDCC (Small Device C Compiler) project. You can download source of SDCC or precompiled binaries from http://sdcc.sf.net. Please note, that SDCC binary package contains limited µCsim, including simulators for SDCC ports only.

     

  2. µCsim site. Standalone source package is available on the µCsim web site:

    http://mazsola.iit.uni-miskolc.hu/ucsim/download

    Home site contains precompiled Debian (i386 and amd64 architectures) packages for all Debian based Linux distributions, Windows installer and standalone Windows package.

How to install

UNIX version is distributed in source, pre-compiled debian stable package for i386 and amd64 architecture.

Windows version distributed as a setup executable and as a portable zip package.

How to compile from source

  1. Get archive file, uncompress and untar it. These steps will produce a directory ucsim-X.Y.Z where X.Y.Z is the version number.
  2. Make sure, that following packages are installed on your system: make, bison (or yacc), flex (or lex), libncurses-dev. You will need a C and a C++ compiler as well.
  3. Go to the directory and configure the package. Issue configure command. It will determine your system and produce Makefile. Installation directory can be specified with --prefix=dir option to the configure. Default directory is /usr/local. Executable file will be placed in bin subdirectory.
  4. Compile the package with make command.
  5. Install executables ucsim_51, ucsim_avr, ucsim_hc08, ucsim_xa, ucsim_z80, etc. to any directory you want. It can be done with make install command which will place files in installation directory specified with --prefix=dir option of configure. Note that you may have to have special privilege to do this if installation directory is not writable by the user.

How to use

Features of the simulator

Microcontroller specific features

Developers


© 1997 Dániel Drótos
dr.dkdb@gmail.com